import  tabBar from "@/components/tabBar"
//import shopCar from "@/pages/details/components/shopCar"

let myPlugins = {}

myPlugins.install = (Vue) =>{
    Vue.component("tabBar",tabBar)      //

    Vue.prototype.$filterImage = (url)=>{    //
        return url.replace("http://oa.ossjk.cn","http://imgs.ossjk.cn")
    }

    Vue.filter("toFixed",(result)=>{
        return result.toFixed(2)
    })

    Vue.filter("rmb",(result)=>{
        return "￥" + result
    })

}

export default myPlugins